Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up matching regex #1

Open
wants to merge 1 commit into
base: feat/config-option
Choose a base branch
from

Conversation

JohnGarbutt
Copy link

No description provided.

for fname in sorted(glob.glob("%s/*.py" % TOP)):
with open(fname) as f:
fdata = {'filename': os.path.basename(fname)}
content = f.readlines()
done = True
for key in PHASES:
if ".. %s\n" % key in content:
if "# %s\n" % key in content:
fdata[key] = "TODO"
done = False
counts[key].append(fname)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You will also need to change the "index.html": http://paste.openstack.org/show/526602/

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 77 should probably be: m = re.match('-# needs:(.*)', line)

The api-ref source need .. for comments, we need #.

@markuszoeller
Copy link

markuszoeller commented Jul 6, 2016

Maybe there is a bug in seans code when it writes the "data.csv" file for the burndown chart on the top of file "index.html". I needed to add manually the line
date,needs:fix_opt_description,needs:check_deprecation_status,needs:check_opt_group_and_type,needs:fix_opt_description_indentation,needs:fix_opt_registration_consistency
at the very top of "data.csv", otherwise the "d3.js" cannot display the time series data in "data.csv".

@markuszoeller
Copy link

My full patch: http://paste.openstack.org/show/526868/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants